import time
t = time # 时间戳
print(t)
print(t.time())
print(t.localtime())
# 获取年份
print(t.localtime().tm_year)
print(t.localtime().tm_mday)
print(t.localtime().tm_wday)
